import React, { useState } from 'react'
import { Card } from 'antd'
import View from '@/components/View'
import PDF from '@mikecousins/react-pdf'

const Pdf = () => {
  const [page, setPage] = useState(1)
  
  return (
    <View className="app-guide">
      <Card type="inner" title="引导页">
        <PDF file="./info.pdf" page={page} />
        {/* <PDF file="http://arxiv.org/pdf/0704.0739v2.pdf" page={page} /> */}
      </Card>
    </View>
  )
}

export default Pdf
